<?php
$this->breadcrumbs = array(
    'SEO settings'
);
?>
<div class="box">
    <header>
        <div class="icons"><i class="icon-wrench"></i></div>
        <h5>SEO settings</h5>
    </header>
    <div class="body">
        <form method="post">
            <div class="control-group">
                <label class="control-label">Home page title</label>
                <div class="controls">
                    <input type="text" name="home_title" value="<?php echo isset($settings['home_title']) ? $settings['home_title'] : '' ?>" class="input-xxlarge" />
                    <p class="help-block">160 characters max</p>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Home description</label>

                <div class="controls">
                    <textarea name="home_description" class="input-xxlarge"><?php echo isset($settings['home_description']) ? $settings['home_description'] : '' ?></textarea>
                    <p class="help-block">160 characters max</p>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Home keywords</label>
                <div class="controls">
                    <textarea name="home_keywords" class="input-xxlarge"><?php echo isset($settings['home_keywords']) ? $settings['home_keywords'] : '' ?></textarea>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Tracking Codes</label>
                <div class="controls">
                    <textarea name="google_analytics" cols="30" rows="5" class="input-xxlarge"><?php echo isset($settings['google_analytics']) ? $settings['google_analytics'] : '' ?></textarea>
                </div>
                <p class="hint">It allows you to add tracking codes ex Google Analytics</p>
            </div>


            <div class="form-actions">
                <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => 'Submit')); ?>
            </div>
        </form>
    </div>
